﻿<?php
/*数据库名称*/
$dbname = 'XXXXXXXXXXXXXXXXXXXXX';

/*从环境变量里取出数据库连接需要的参数*/
$host = getenv('HTTP_BAE_ENV_ADDR_SQL_IP');
$port = getenv('HTTP_BAE_ENV_ADDR_SQL_PORT');
$user = getenv('HTTP_BAE_ENV_AK');
$pwd = getenv('HTTP_BAE_ENV_SK');
echo $host. "<br>";
echo $port. "<br>";
echo $user. "<br>";
echo $pwd;
?>